<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变量的案例</title>
    <!-- <script>
        var myname = '教教';
        var address = '没有';
        var age = 21;
        var email = 'kakak@itcast.cn';
        var gz = 2000;
        console.log(myname, address, age, email, gz);
    </script> -->
    <script>
        // 用户输入信息
        var youname = prompt('请输入名字');
        // 输出这个用户名
        alert(youname);
        // 好好
    </script>
</head>

<body>

</body>

</html>